package com.abc.cloud.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.abc.cloud.common.utils.PageUtil;
import com.abc.cloud.common.utils.Query;

import com.abc.cloud.dao.RolePermsRelationDao;
import com.abc.cloud.entity.RolePermsRelationEntity;
import com.abc.cloud.service.RolePermsRelationService;


@Service("rolePermsRelationService")
public class RolePermsRelationServiceImpl extends ServiceImpl<RolePermsRelationDao, RolePermsRelationEntity> implements RolePermsRelationService {

    @Override
    public PageUtil queryPage(Map<String, Object> params) {
        IPage<RolePermsRelationEntity> page = this.page(
                new Query<RolePermsRelationEntity>().getPage(params),
                new QueryWrapper<RolePermsRelationEntity>()
        );

        return new PageUtil(page);
    }

}